package top.laoshuzi.designpatterns.base.structure.adapter.kotlin

/**
 * 对象适配器
 */
class ObjectAdapter : Target {

    private val adapee: Adapee

    constructor(adapee: Adapee) {
        this.adapee = adapee
    }


    override fun operation1() {
        adapee.operation1()
    }

    override fun operation2() {
       println("ObjectAdapter->operation2")
    }


}